<?php /* Smarty version 2.6.18, created on 2009-11-19 00:15:40
         compiled from inquiries_staff.tpl */ ?>
<div id="main_content" width="100%">
<form name="MainQuery" method="POST" action="">
	<h1>Staff Inquiry</h1>
	<table width="100%" border="0" class="blue">
		<tr>
			<td width="15%">
				<label for="entity_type">Entity Type:</label>
			</td>
			<td>
				<select name="entity_type" id="entity_type" 
				onChange="doajaxAction('/admin/inqSICountries/entity_type/'+document.MainQuery.entity_type.value,0,'country')">
					<option value=""> --- </option>	
					<?php $_from = $this->_tpl_vars['orgtypes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['orgtype']):
?>
					<option value="<?php echo $this->_tpl_vars['orgtype']['org_type']; ?>
"><?php echo $this->_tpl_vars['orgtype']['org_type']; ?>
</option>
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		</tr>
		<tr>
			<td><label for="country">Country: </label></td>
			<td>
				<div id="country">
					<select name="country" id="country" onchange="">
						<option value=""> --- </option>
					</select>
				</div>
			</td>
		</tr>
		<tr>
			<td><label for="entity">Entity: </label></td>
			<td>
				<div id="entity">
					<select name="entity" id="entity" onchange="">
						<option value=""> --- </option>
					</select>
				</div>
			</td>
			<td align="right">
				<input type="button" value="Go" onclick="doajaxAction('/admin/inqSIShowList/entity/'+document.MainQuery.entity.value,0,'data_table')">
			</td>
		</tr>
	</table><br><br>
	<div id="data_table" width="100%"></div>
</form>
</div>